package dRegAut.opg3;

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class Dotter {
    public void createToDotFile(String toDot, String file) throws IOException {
        new File("dots").mkdir();
        FileWriter out = new FileWriter("dots/" + file);
        out.write(toDot);
        out.close();
    }

}
